<template>
  <div class="app-container">
    <div class="components-container">
      <el-card class="box-card">
        <el-form ref="form" :model="form" label-width="80px">
          <el-form-item label="需要保存的工卡">
            <el-input v-model="form.desc" type="textarea"/>
          </el-form-item>
          <el-form-item label="从数据库中取出的工卡集合">
            <el-input v-model="form.workcards" type="textarea"/>
          </el-form-item>
          <el-form-item label="从数据库中取出的特定工卡">
            <el-input v-model="form.workcard" type="textarea"/>
          </el-form-item>
          <el-form-item>
            <el-button type="primary" size="small" icon="el-icon-close" @click.prevent.stop="onSave()">保存</el-button>
            <el-button type="primary" size="small" icon="el-icon-close" @click.prevent.stop="onQueryWorklist()">查询所有工卡</el-button>
            <el-button type="primary" size="small" icon="el-icon-close" @click.prevent.stop="onQueryWorkcard()">查询特定工卡</el-button>
            <el-button type="primary" size="small" icon="el-icon-close" @click.prevent.stop="onUploadWorkcard()">上传工卡</el-button>
            <el-button type="primary" size="small" icon="el-icon-close" @click.prevent.stop="onUpload()">文件上传</el-button>
          </el-form-item>
        </el-form>
      </el-card>
    </div>
  </div>
</template>

<script>
import { saveWorkcard, getWorkcard, getWorklist } from '@/utils/storage'
import { uploadWorklist } from '@/api/workcard'
import { uploadPhoto } from '@/utils/file'

export default {
  data() {
    return {
      finished: false,
      form: {
        desc: this.getSampleWorklist(),
        workcards: '',
        workcard: ''
      }
    }
  },
  computed: {
    visitedViews() {
      return this.$store.state.tagsView.visitedViews
    }
  },
  methods: {
    onSave() {
      const worklist = JSON.parse(this.form.desc)
      console.log(worklist)
      for (var i = 0; i < worklist.length; i++) {
        saveWorkcard(worklist[i])
      }
    },
    onQueryWorklist() {
      const that = this
      getWorklist().then(
        data => {
          that.form.workcards = JSON.stringify(data)
        }
      )
    },
    onQueryWorkcard() {
      const that = this
      getWorkcard('GY00000124').then(
        data => {
          that.form.workcard = JSON.stringify(data)
        }
      )
    },
    onUploadWorkcard() {
      const body = this.getSampleWorkcard()
      uploadWorklist(body).then(
        resp => {
          console.log('success:' + JSON.stringify(resp))
        }
      ).catch(
        err => {
          console.log('err:' + JSON.stringify(err))
        }
      )
    },
    onUpload() {
      uploadPhoto('1550148278592622.jpeg').then(
        uid => {
          console.log('uid: ' + uid)
        },
        err => {
          console.log('err: ' + err)
        }
      )
    },
    getSampleWorklist() {
      const data = '[{"workid":"GY00000227","workuid":"13VxjFDRJogy5C","datapackageuid":"xvex0vYmJogy5C","worktype":"测试系统检查","isupdatephysicalpart":"N","executors":[{"role":"复检","name":"admin(admin)","decision":null,"date":null,"comment":null,"executestatus":null,"workhour":null,"photos":[]},{"role":"复检","name":"007(007)","decision":null,"date":null,"comment":null,"executestatus":null,"workhour":null,"photos":[]},{"role":"检验","name":"0000(0000)","decision":null,"date":null,"comment":null,"executestatus":null,"workhour":null,"photos":[]},{"role":"检验","name":"007(007)","decision":null,"date":null,"comment":null,"executestatus":null,"workhour":null,"photos":[]},{"role":"检验","name":"swh(000)","decision":null,"date":null,"comment":null,"executestatus":null,"workhour":null,"photos":[]},{"role":"检验","name":"丁军亮(1963821)","decision":null,"date":null,"comment":null,"executestatus":null,"workhour":null,"photos":[]},{"role":"检验","name":"房文林(5515893)","decision":null,"date":null,"comment":null,"executestatus":null,"workhour":null,"photos":[]},{"role":"工作者","name":"admin(admin)","decision":null,"date":null,"comment":null,"executestatus":null,"workhour":null,"photos":[]},{"role":"工作者","name":"003(003)","decision":null,"date":null,"comment":null,"executestatus":null,"workhour":null,"photos":[]}],"workinstructions":[{"id":"GX00000430","uid":"GIexjFDRJogy5C","puid":"","type":"process","lastmoddate":"2019-01-09 16:58:54","workdesc":"采集系统","workrelattrs":[{"name":"名称","value":"采集系统","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false},{"name":"架次号","value":"","rName":"cf3_JCH","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000379","uid":"GcfxjFDRJogy5C","puid":"GIexjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:58:53","workdesc":"主要参数（模拟量及开关量）","workrelattrs":[{"name":"名称","value":"主要参数（模拟量及开关量）","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000380","uid":"GwTxjFDRJogy5C","puid":"GIexjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:58:53","workdesc":"各类总线参数","workrelattrs":[{"name":"名称","value":"各类总线参数","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000381","uid":"WAXxjFDRJogy5C","puid":"GIexjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:58:54","workdesc":"零位检查记录存盘","workrelattrs":[{"name":"名称","value":"零位检查记录存盘","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GX00000431","uid":"WUWxjFDRJogy5C","puid":"","type":"process","lastmoddate":"2019-01-09 16:58:55","workdesc":"记录系统","workrelattrs":[{"name":"名称","value":"记录系统","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false},{"name":"架次号","value":"","rName":"cf3_JCH","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000382","uid":"WoXxjFDRJogy5C","puid":"WUWxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:58:54","workdesc":"装入磁带或电子盘并确认其剩余容量不小于50%","workrelattrs":[{"name":"名称","value":"装入磁带或电子盘并确认其剩余容量不小于50%","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000383","uid":"W4bxjFDRJogy5C","puid":"WUWxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:58:55","workdesc":"记录显示","workrelattrs":[{"name":"名称","value":"记录显示","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GX00000432","uid":"mMaxjFDRJogy5C","puid":"","type":"process","lastmoddate":"2019-01-09 16:58:56","workdesc":"GPS及时码系统","workrelattrs":[{"name":"名称","value":"GPS及时码系统","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false},{"name":"架次号","value":"","rName":"cf3_JCH","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000384","uid":"mgbxjFDRJogy5C","puid":"mMaxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:58:55","workdesc":"时间装订及显示","workrelattrs":[{"name":"名称","value":"时间装订及显示","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000385","uid":"mwfxjFDRJogy5C","puid":"mMaxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:58:56","workdesc":"GPS定位","workrelattrs":[{"name":"名称","value":"GPS定位","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000386","uid":"2ETxjFDRJogy5C","puid":"mMaxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:58:56","workdesc":"开关位置","workrelattrs":[{"name":"名称","value":"开关位置","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GX00000433","uid":"2YSxjFDRJogy5C","puid":"","type":"process","lastmoddate":"2019-01-09 16:58:57","workdesc":"视频系统","workrelattrs":[{"name":"名称","value":"视频系统","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false},{"name":"架次号","value":"","rName":"cf3_JCH","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000387","uid":"2sTxjFDRJogy5C","puid":"2YSxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:58:57","workdesc":"各路视频信号显示画面、记录正常","workrelattrs":[{"name":"名称","value":"各路视频信号显示画面、记录正常","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GX00000434","uid":"GBSxjFDRJogy5C","puid":"","type":"process","lastmoddate":"2019-01-09 16:58:58","workdesc":"系统外部检查","workrelattrs":[{"name":"名称","value":"系统外部检查","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false},{"name":"架次号","value":"","rName":"cf3_JCH","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000388","uid":"GVTxjFDRJogy5C","puid":"GBSxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:58:57","workdesc":"各设备可见部分开关、保险、指示灯等紧固完好","workrelattrs":[{"name":"名称","value":"各设备可见部分开关、保险、指示灯等紧固完好","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000389","uid":"GlXxjFDRJogy5C","puid":"GBSxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:58:58","workdesc":"可见部分传感器（如迎角、侧滑角、大气温度等）及遥测天线外观检查","workrelattrs":[{"name":"名称","value":"可见部分传感器（如迎角、侧滑角、大气温度等）及遥测天线外观检查","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000390","uid":"G1bxjFDRJogy5C","puid":"GBSxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:58:58","workdesc":"测试设备安装部位口盖检查","workrelattrs":[{"name":"名称","value":"测试设备安装部位口盖检查","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GX00000435","uid":"WJaxjFDRJogy5C","puid":"","type":"process","lastmoddate":"2019-01-09 16:59:51","workdesc":"飞机放飞前检查","workrelattrs":[{"name":"名称","value":"飞机放飞前检查","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false},{"name":"架次号","value":"1","rName":"cf3_JCH","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000391","uid":"WdbxjFDRJogy5C","puid":"WJaxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:58:59","workdesc":"GPS或时码定位","workrelattrs":[{"name":"名称","value":"GPS或时码定位","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000392","uid":"WtfxjFDRJogy5C","puid":"WJaxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:58:59","workdesc":"GPS或时码指示灯显示、开关位置","workrelattrs":[{"name":"名称","value":"GPS或时码指示灯显示、开关位置","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000393","uid":"mBTxjFDRJogy5C","puid":"WJaxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:58:59","workdesc":"记录器显示、走带","workrelattrs":[{"name":"名称","value":"记录器显示、走带","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000394","uid":"mRXxjFDRJogy5C","puid":"WJaxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:58:59","workdesc":"遥测信号发送、接收","workrelattrs":[{"name":"名称","value":"遥测信号发送、接收","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000395","uid":"mhbxjFDRJogy5C","puid":"WJaxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:00","workdesc":"总开关盒及座舱控制盒等开关位置","workrelattrs":[{"name":"名称","value":"总开关盒及座舱控制盒等开关位置","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000396","uid":"mxfxjFDRJogy5C","puid":"WJaxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:00","workdesc":"打开记录开关","workrelattrs":[{"name":"名称","value":"打开记录开关","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GX00000436","uid":"2FexjFDRJogy5C","puid":"","type":"process","lastmoddate":"2019-01-09 17:00:06","workdesc":"飞机放飞前检查","workrelattrs":[{"name":"名称","value":"飞机放飞前检查","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false},{"name":"架次号","value":"2","rName":"cf3_JCH","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000397","uid":"2ZfxjFDRJogy5C","puid":"2FexjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:01","workdesc":"GPS或时码定位","workrelattrs":[{"name":"名称","value":"GPS或时码定位","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000398","uid":"2tTxjFDRJogy5C","puid":"2FexjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:01","workdesc":"GPS或时码指示灯显示、开关位置","workrelattrs":[{"name":"名称","value":"GPS或时码指示灯显示、开关位置","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000399","uid":"29XxjFDRJogy5C","puid":"2FexjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:01","workdesc":"记录器显示、走带","workrelattrs":[{"name":"名称","value":"记录器显示、走带","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000400","uid":"GObxjFDRJogy5C","puid":"2FexjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:01","workdesc":"遥测信号发送、接收","workrelattrs":[{"name":"名称","value":"遥测信号发送、接收","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000401","uid":"GefxjFDRJogy5C","puid":"2FexjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:02","workdesc":"总开关盒及座舱控制盒等开关位置","workrelattrs":[{"name":"名称","value":"总开关盒及座舱控制盒等开关位置","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000402","uid":"GyTxjFDRJogy5C","puid":"2FexjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:02","workdesc":"打开记录开关","workrelattrs":[{"name":"名称","value":"打开记录开关","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GX00000437","uid":"WGSxjFDRJogy5C","puid":"","type":"process","lastmoddate":"2019-01-09 17:00:17","workdesc":"飞机放飞前检查","workrelattrs":[{"name":"名称","value":"飞机放飞前检查","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false},{"name":"架次号","value":"3","rName":"cf3_JCH","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000403","uid":"WaTxjFDRJogy5C","puid":"WGSxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:02","workdesc":"GPS或时码定位","workrelattrs":[{"name":"名称","value":"GPS或时码定位","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000404","uid":"WqXxjFDRJogy5C","puid":"WGSxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:03","workdesc":"GPS或时码指示灯显示、开关位置","workrelattrs":[{"name":"名称","value":"GPS或时码指示灯显示、开关位置","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000405","uid":"W6bxjFDRJogy5C","puid":"WGSxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:03","workdesc":"记录器显示、走带","workrelattrs":[{"name":"名称","value":"记录器显示、走带","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000406","uid":"mKfxjFDRJogy5C","puid":"WGSxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:03","workdesc":"遥测信号发送、接收","workrelattrs":[{"name":"名称","value":"遥测信号发送、接收","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000407","uid":"meTxjFDRJogy5C","puid":"WGSxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:04","workdesc":"总开关盒及座舱控制盒等开关位置","workrelattrs":[{"name":"名称","value":"总开关盒及座舱控制盒等开关位置","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000408","uid":"muXxjFDRJogy5C","puid":"WGSxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:04","workdesc":"打开记录开关","workrelattrs":[{"name":"名称","value":"打开记录开关","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GX00000438","uid":"2CWxjFDRJogy5C","puid":"","type":"process","lastmoddate":"2019-01-09 17:00:26","workdesc":"飞机放飞前检查","workrelattrs":[{"name":"名称","value":"飞机放飞前检查","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false},{"name":"架次号","value":"4","rName":"cf3_JCH","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000409","uid":"2WXxjFDRJogy5C","puid":"2CWxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:05","workdesc":"GPS或时码定位","workrelattrs":[{"name":"名称","value":"GPS或时码定位","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000410","uid":"2mbxjFDRJogy5C","puid":"2CWxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:05","workdesc":"GPS或时码指示灯显示、开关位置","workrelattrs":[{"name":"名称","value":"GPS或时码指示灯显示、开关位置","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000411","uid":"22fxjFDRJogy5C","puid":"2CWxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:05","workdesc":"记录器显示、走带","workrelattrs":[{"name":"名称","value":"记录器显示、走带","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000412","uid":"GLTxjFDRJogy5C","puid":"2CWxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:05","workdesc":"遥测信号发送、接收","workrelattrs":[{"name":"名称","value":"遥测信号发送、接收","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000413","uid":"GbXxjFDRJogy5C","puid":"2CWxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:06","workdesc":"总开关盒及座舱控制盒等开关位置","workrelattrs":[{"name":"名称","value":"总开关盒及座舱控制盒等开关位置","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000414","uid":"GrbxjFDRJogy5C","puid":"2CWxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:06","workdesc":"打开记录开关","workrelattrs":[{"name":"名称","value":"打开记录开关","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GX00000439","uid":"G$axjFDRJogy5C","puid":"","type":"process","lastmoddate":"2019-01-09 17:00:37","workdesc":"飞机放飞前检查","workrelattrs":[{"name":"名称","value":"飞机放飞前检查","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false},{"name":"架次号","value":"5","rName":"cf3_JCH","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000415","uid":"WTbxjFDRJogy5C","puid":"G$axjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:06","workdesc":"GPS或时码定位","workrelattrs":[{"name":"名称","value":"GPS或时码定位","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000416","uid":"WjfxjFDRJogy5C","puid":"G$axjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:07","workdesc":"GPS或时码指示灯显示、开关位置","workrelattrs":[{"name":"名称","value":"GPS或时码指示灯显示、开关位置","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000417","uid":"W3TxjFDRJogy5C","puid":"G$axjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:07","workdesc":"记录器显示、走带","workrelattrs":[{"name":"名称","value":"记录器显示、走带","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000418","uid":"mHXxjFDRJogy5C","puid":"G$axjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:07","workdesc":"遥测信号发送、接收","workrelattrs":[{"name":"名称","value":"遥测信号发送、接收","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000419","uid":"mXbxjFDRJogy5C","puid":"G$axjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:07","workdesc":"总开关盒及座舱控制盒等开关位置","workrelattrs":[{"name":"名称","value":"总开关盒及座舱控制盒等开关位置","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000420","uid":"mnfxjFDRJogy5C","puid":"G$axjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:08","workdesc":"打开记录开关","workrelattrs":[{"name":"名称","value":"打开记录开关","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]}],"gygf":{"uid":null,"type":null,"name":null,"path":null},"workrelattrs":[{"name":"机型号","value":"C919","rName":null,"editable":false},{"name":"名称","value":"工作指令单","rName":null,"editable":false},{"name":"架机号","value":"10101","rName":null,"editable":false},{"name":"ID","value":"GK00000142","rName":null,"editable":false},{"name":"所有者","value":"007 (007)","rName":null,"editable":false}]},{"workid":"GY00000221","workuid":"y_dxjFDRJogy5C","datapackageuid":"RPcx0PbbJogy5C","worktype":"J1 机械安装","isupdatephysicalpart":"N","executors":[{"role":"复检","name":"admin(admin)","decision":null,"date":null,"comment":null,"executestatus":null,"workhour":null,"photos":[]},{"role":"复检","name":"007(007)","decision":null,"date":null,"comment":null,"executestatus":null,"workhour":null,"photos":[]},{"role":"检验","name":"0000(0000)","decision":null,"date":null,"comment":null,"executestatus":null,"workhour":null,"photos":[]},{"role":"检验","name":"007(007)","decision":null,"date":null,"comment":null,"executestatus":null,"workhour":null,"photos":[]},{"role":"检验","name":"swh(000)","decision":null,"date":null,"comment":null,"executestatus":null,"workhour":null,"photos":[]},{"role":"检验","name":"丁军亮(1963821)","decision":null,"date":null,"comment":null,"executestatus":null,"workhour":null,"photos":[]},{"role":"检验","name":"房文林(5515893)","decision":null,"date":null,"comment":null,"executestatus":null,"workhour":null,"photos":[]},{"role":"工作者","name":"admin(admin)","decision":null,"date":null,"comment":null,"executestatus":null,"workhour":null,"photos":[]},{"role":"工作者","name":"007(007)","decision":null,"date":null,"comment":null,"executestatus":null,"workhour":null,"photos":[]}],"workinstructions":[{"id":"GX00000401","uid":"CXexjFDRJogy5C","puid":"","type":"process","lastmoddate":"2019-01-09 16:06:34","workdesc":"准备","workrelattrs":[{"name":"名称","value":"准备","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false},{"name":"架次号","value":"","rName":"cf3_JCH","editable":false}],"attachments":[{"uid":"Skdx0HG5Jogy5C","type":"JPEG","name":"pic2","path":"Skdx0HG5Jogy5C.jpg"}],"parts":[],"executeresult":[]},{"id":"GB00000341","uid":"CvdxjFDRJogy5C","puid":"CXexjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:10:36","workdesc":"物料准备","workrelattrs":[{"name":"名称","value":"物料准备","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[{"uid":"CWdxhHhcJogy5C","type":"DirectModel","name":"8716C10101T99/A","path":"CWdxhHhcJogy5C.jt"},{"uid":"SYTx0HG5Jogy5C","type":"Image","name":"pic1","path":"SYTx0HG5Jogy5C.png"}],"parts":[{"id":"000453","uid":"naZxBrH7Jogy5C","type":"标准件","relattrs":{},"alterparts":[{"uid":"SdbxjFDRJogy5C","relattrs":{"名称":"YY标准件","Id":"000741"},"selected":false}]},{"id":"000743","uid":"SxaxjFDRJogy5C","type":"关重件","relattrs":{},"alterparts":[{"uid":"yRVxjFDRJogy5C","relattrs":{"名称":"关重件","Id":"000743/321"},"selected":false},{"uid":"yhcxjFDRJogy5C","relattrs":{"名称":"关重件","Id":"000743/102"},"selected":false}]},{"id":"000747","uid":"SCVxjFDRJogy5C","type":"标准件","relattrs":{},"alterparts":[{"uid":"SpRxjFDRJogy5C","relattrs":{"名称":"ZZ标准件","Id":"000742"},"selected":false}]}],"executeresult":[]},{"id":"GX00000402","uid":"SPUxjFDRJogy5C","puid":"","type":"process","lastmoddate":"2019-01-09 15:56:40","workdesc":"放置到XXX位置","workrelattrs":[{"name":"名称","value":"放置到XXX位置","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false},{"name":"架次号","value":"","rName":"cf3_JCH","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000342","uid":"SjcxjFDRJogy5C","puid":"SPUxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 15:56:40","workdesc":"固定位置","workrelattrs":[{"name":"名称","value":"固定位置","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GX00000403","uid":"S$ZxjFDRJogy5C","puid":"","type":"process","lastmoddate":"2019-01-09 15:56:42","workdesc":"安装","workrelattrs":[{"name":"名称","value":"安装","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false},{"name":"架次号","value":"","rName":"cf3_JCH","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000343","uid":"iTaxjFDRJogy5C","puid":"S$ZxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:11:02","workdesc":"安装步骤1","workrelattrs":[{"name":"名称","value":"安装步骤1","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000344","uid":"irexjFDRJogy5C","puid":"S$ZxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:11:18","workdesc":"安装步骤2","workrelattrs":[{"name":"名称","value":"安装步骤2","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000345","uid":"yHSxjFDRJogy5C","puid":"S$ZxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 15:56:42","workdesc":"安装步骤3","workrelattrs":[{"name":"名称","value":"安装步骤3","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GX00000404","uid":"ybTxjFDRJogy5C","puid":"","type":"process","lastmoddate":"2019-01-09 15:56:44","workdesc":"检查","workrelattrs":[{"name":"名称","value":"检查","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false},{"name":"架次号","value":"","rName":"cf3_JCH","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000346","uid":"yvUxjFDRJogy5C","puid":"ybTxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 15:56:43","workdesc":"检查步骤1","workrelattrs":[{"name":"名称","value":"检查步骤1","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000347","uid":"y$axjFDRJogy5C","puid":"ybTxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 15:56:43","workdesc":"检查步骤2","workrelattrs":[{"name":"名称","value":"检查步骤2","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]}],"gygf":{"uid":null,"type":null,"name":null,"path":null},"workrelattrs":[{"name":"施工部位","value":"","rName":null,"editable":false},{"name":"编号","value":"A08716C123678-008A","rName":null,"editable":false},{"name":"架机号","value":"10101","rName":null,"editable":false},{"name":"专业","value":"机械","rName":null,"editable":false},{"name":"施工依据","value":"8716C123678T20A","rName":null,"editable":false},{"name":"计划进度","value":"100","rName":null,"editable":false},{"name":"机型号","value":"C919","rName":null,"editable":false},{"name":"名称","value":"改装工作指令单","rName":null,"editable":false},{"name":"任务名称","value":"","rName":null,"editable":false},{"name":"派工日期","value":"","rName":null,"editable":false},{"name":"ID","value":"GK00000141","rName":null,"editable":false},{"name":"所有者","value":"007 (007)","rName":null,"editable":false},{"name":"工艺规范","value":"","rName":null,"editable":false},{"name":"具体施工项目","value":"","rName":null,"editable":false},{"name":"密级","value":"公开","rName":null,"editable":false}]}]'
      return data
    },
    getSampleWorkcard() {
      const data = '[{"workid":"GY00000227","workuid":"13VxjFDRJogy5C","datapackageuid":"xvex0vYmJogy5C","worktype":"测试系统检查", "isfinished": "False", "isupdatephysicalpart":"N","executors":[{"role":"复检","name":"admin(admin)","decision":null,"date":null,"comment":null,"executestatus":null,"workhour":null,"photos":[]},{"role":"复检","name":"007(007)","decision":null,"date":null,"comment":null,"executestatus":null,"workhour":null,"photos":[]},{"role":"检验","name":"0000(0000)","decision":null,"date":null,"comment":null,"executestatus":null,"workhour":null,"photos":[]},{"role":"检验","name":"007(007)","decision":null,"date":null,"comment":null,"executestatus":null,"workhour":null,"photos":[]},{"role":"检验","name":"swh(000)","decision":null,"date":null,"comment":null,"executestatus":null,"workhour":null,"photos":[]},{"role":"检验","name":"丁军亮(1963821)","decision":null,"date":null,"comment":null,"executestatus":null,"workhour":null,"photos":[]},{"role":"检验","name":"房文林(5515893)","decision":null,"date":null,"comment":null,"executestatus":null,"workhour":null,"photos":[]},{"role":"工作者","name":"admin(admin)","decision":null,"date":null,"comment":null,"executestatus":null,"workhour":null,"photos":[]},{"role":"工作者","name":"003(003)","decision":null,"date":null,"comment":null,"executestatus":null,"workhour":null,"photos":[]}],"workinstructions":[{"id":"GX00000430","uid":"GIexjFDRJogy5C","puid":"","type":"process","lastmoddate":"2019-01-09 16:58:54","workdesc":"采集系统","workrelattrs":[{"name":"名称","value":"采集系统","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false},{"name":"架次号","value":"","rName":"cf3_JCH","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000379","uid":"GcfxjFDRJogy5C","puid":"GIexjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:58:53","workdesc":"主要参数（模拟量及开关量）","workrelattrs":[{"name":"名称","value":"主要参数（模拟量及开关量）","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000380","uid":"GwTxjFDRJogy5C","puid":"GIexjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:58:53","workdesc":"各类总线参数","workrelattrs":[{"name":"名称","value":"各类总线参数","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000381","uid":"WAXxjFDRJogy5C","puid":"GIexjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:58:54","workdesc":"零位检查记录存盘","workrelattrs":[{"name":"名称","value":"零位检查记录存盘","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GX00000431","uid":"WUWxjFDRJogy5C","puid":"","type":"process","lastmoddate":"2019-01-09 16:58:55","workdesc":"记录系统","workrelattrs":[{"name":"名称","value":"记录系统","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false},{"name":"架次号","value":"","rName":"cf3_JCH","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000382","uid":"WoXxjFDRJogy5C","puid":"WUWxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:58:54","workdesc":"装入磁带或电子盘并确认其剩余容量不小于50%","workrelattrs":[{"name":"名称","value":"装入磁带或电子盘并确认其剩余容量不小于50%","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000383","uid":"W4bxjFDRJogy5C","puid":"WUWxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:58:55","workdesc":"记录显示","workrelattrs":[{"name":"名称","value":"记录显示","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GX00000432","uid":"mMaxjFDRJogy5C","puid":"","type":"process","lastmoddate":"2019-01-09 16:58:56","workdesc":"GPS及时码系统","workrelattrs":[{"name":"名称","value":"GPS及时码系统","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false},{"name":"架次号","value":"","rName":"cf3_JCH","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000384","uid":"mgbxjFDRJogy5C","puid":"mMaxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:58:55","workdesc":"时间装订及显示","workrelattrs":[{"name":"名称","value":"时间装订及显示","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000385","uid":"mwfxjFDRJogy5C","puid":"mMaxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:58:56","workdesc":"GPS定位","workrelattrs":[{"name":"名称","value":"GPS定位","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000386","uid":"2ETxjFDRJogy5C","puid":"mMaxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:58:56","workdesc":"开关位置","workrelattrs":[{"name":"名称","value":"开关位置","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GX00000433","uid":"2YSxjFDRJogy5C","puid":"","type":"process","lastmoddate":"2019-01-09 16:58:57","workdesc":"视频系统","workrelattrs":[{"name":"名称","value":"视频系统","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false},{"name":"架次号","value":"","rName":"cf3_JCH","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000387","uid":"2sTxjFDRJogy5C","puid":"2YSxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:58:57","workdesc":"各路视频信号显示画面、记录正常","workrelattrs":[{"name":"名称","value":"各路视频信号显示画面、记录正常","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GX00000434","uid":"GBSxjFDRJogy5C","puid":"","type":"process","lastmoddate":"2019-01-09 16:58:58","workdesc":"系统外部检查","workrelattrs":[{"name":"名称","value":"系统外部检查","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false},{"name":"架次号","value":"","rName":"cf3_JCH","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000388","uid":"GVTxjFDRJogy5C","puid":"GBSxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:58:57","workdesc":"各设备可见部分开关、保险、指示灯等紧固完好","workrelattrs":[{"name":"名称","value":"各设备可见部分开关、保险、指示灯等紧固完好","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000389","uid":"GlXxjFDRJogy5C","puid":"GBSxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:58:58","workdesc":"可见部分传感器（如迎角、侧滑角、大气温度等）及遥测天线外观检查","workrelattrs":[{"name":"名称","value":"可见部分传感器（如迎角、侧滑角、大气温度等）及遥测天线外观检查","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000390","uid":"G1bxjFDRJogy5C","puid":"GBSxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:58:58","workdesc":"测试设备安装部位口盖检查","workrelattrs":[{"name":"名称","value":"测试设备安装部位口盖检查","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GX00000435","uid":"WJaxjFDRJogy5C","puid":"","type":"process","lastmoddate":"2019-01-09 16:59:51","workdesc":"飞机放飞前检查","workrelattrs":[{"name":"名称","value":"飞机放飞前检查","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false},{"name":"架次号","value":"1","rName":"cf3_JCH","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000391","uid":"WdbxjFDRJogy5C","puid":"WJaxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:58:59","workdesc":"GPS或时码定位","workrelattrs":[{"name":"名称","value":"GPS或时码定位","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000392","uid":"WtfxjFDRJogy5C","puid":"WJaxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:58:59","workdesc":"GPS或时码指示灯显示、开关位置","workrelattrs":[{"name":"名称","value":"GPS或时码指示灯显示、开关位置","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000393","uid":"mBTxjFDRJogy5C","puid":"WJaxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:58:59","workdesc":"记录器显示、走带","workrelattrs":[{"name":"名称","value":"记录器显示、走带","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000394","uid":"mRXxjFDRJogy5C","puid":"WJaxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:58:59","workdesc":"遥测信号发送、接收","workrelattrs":[{"name":"名称","value":"遥测信号发送、接收","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000395","uid":"mhbxjFDRJogy5C","puid":"WJaxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:00","workdesc":"总开关盒及座舱控制盒等开关位置","workrelattrs":[{"name":"名称","value":"总开关盒及座舱控制盒等开关位置","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000396","uid":"mxfxjFDRJogy5C","puid":"WJaxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:00","workdesc":"打开记录开关","workrelattrs":[{"name":"名称","value":"打开记录开关","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GX00000436","uid":"2FexjFDRJogy5C","puid":"","type":"process","lastmoddate":"2019-01-09 17:00:06","workdesc":"飞机放飞前检查","workrelattrs":[{"name":"名称","value":"飞机放飞前检查","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false},{"name":"架次号","value":"2","rName":"cf3_JCH","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000397","uid":"2ZfxjFDRJogy5C","puid":"2FexjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:01","workdesc":"GPS或时码定位","workrelattrs":[{"name":"名称","value":"GPS或时码定位","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000398","uid":"2tTxjFDRJogy5C","puid":"2FexjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:01","workdesc":"GPS或时码指示灯显示、开关位置","workrelattrs":[{"name":"名称","value":"GPS或时码指示灯显示、开关位置","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000399","uid":"29XxjFDRJogy5C","puid":"2FexjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:01","workdesc":"记录器显示、走带","workrelattrs":[{"name":"名称","value":"记录器显示、走带","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000400","uid":"GObxjFDRJogy5C","puid":"2FexjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:01","workdesc":"遥测信号发送、接收","workrelattrs":[{"name":"名称","value":"遥测信号发送、接收","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000401","uid":"GefxjFDRJogy5C","puid":"2FexjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:02","workdesc":"总开关盒及座舱控制盒等开关位置","workrelattrs":[{"name":"名称","value":"总开关盒及座舱控制盒等开关位置","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000402","uid":"GyTxjFDRJogy5C","puid":"2FexjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:02","workdesc":"打开记录开关","workrelattrs":[{"name":"名称","value":"打开记录开关","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GX00000437","uid":"WGSxjFDRJogy5C","puid":"","type":"process","lastmoddate":"2019-01-09 17:00:17","workdesc":"飞机放飞前检查","workrelattrs":[{"name":"名称","value":"飞机放飞前检查","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false},{"name":"架次号","value":"3","rName":"cf3_JCH","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000403","uid":"WaTxjFDRJogy5C","puid":"WGSxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:02","workdesc":"GPS或时码定位","workrelattrs":[{"name":"名称","value":"GPS或时码定位","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000404","uid":"WqXxjFDRJogy5C","puid":"WGSxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:03","workdesc":"GPS或时码指示灯显示、开关位置","workrelattrs":[{"name":"名称","value":"GPS或时码指示灯显示、开关位置","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000405","uid":"W6bxjFDRJogy5C","puid":"WGSxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:03","workdesc":"记录器显示、走带","workrelattrs":[{"name":"名称","value":"记录器显示、走带","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000406","uid":"mKfxjFDRJogy5C","puid":"WGSxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:03","workdesc":"遥测信号发送、接收","workrelattrs":[{"name":"名称","value":"遥测信号发送、接收","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000407","uid":"meTxjFDRJogy5C","puid":"WGSxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:04","workdesc":"总开关盒及座舱控制盒等开关位置","workrelattrs":[{"name":"名称","value":"总开关盒及座舱控制盒等开关位置","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000408","uid":"muXxjFDRJogy5C","puid":"WGSxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:04","workdesc":"打开记录开关","workrelattrs":[{"name":"名称","value":"打开记录开关","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GX00000438","uid":"2CWxjFDRJogy5C","puid":"","type":"process","lastmoddate":"2019-01-09 17:00:26","workdesc":"飞机放飞前检查","workrelattrs":[{"name":"名称","value":"飞机放飞前检查","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false},{"name":"架次号","value":"4","rName":"cf3_JCH","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000409","uid":"2WXxjFDRJogy5C","puid":"2CWxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:05","workdesc":"GPS或时码定位","workrelattrs":[{"name":"名称","value":"GPS或时码定位","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000410","uid":"2mbxjFDRJogy5C","puid":"2CWxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:05","workdesc":"GPS或时码指示灯显示、开关位置","workrelattrs":[{"name":"名称","value":"GPS或时码指示灯显示、开关位置","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000411","uid":"22fxjFDRJogy5C","puid":"2CWxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:05","workdesc":"记录器显示、走带","workrelattrs":[{"name":"名称","value":"记录器显示、走带","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000412","uid":"GLTxjFDRJogy5C","puid":"2CWxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:05","workdesc":"遥测信号发送、接收","workrelattrs":[{"name":"名称","value":"遥测信号发送、接收","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000413","uid":"GbXxjFDRJogy5C","puid":"2CWxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:06","workdesc":"总开关盒及座舱控制盒等开关位置","workrelattrs":[{"name":"名称","value":"总开关盒及座舱控制盒等开关位置","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000414","uid":"GrbxjFDRJogy5C","puid":"2CWxjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:06","workdesc":"打开记录开关","workrelattrs":[{"name":"名称","value":"打开记录开关","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GX00000439","uid":"G$axjFDRJogy5C","puid":"","type":"process","lastmoddate":"2019-01-09 17:00:37","workdesc":"飞机放飞前检查","workrelattrs":[{"name":"名称","value":"飞机放飞前检查","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false},{"name":"架次号","value":"5","rName":"cf3_JCH","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000415","uid":"WTbxjFDRJogy5C","puid":"G$axjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:06","workdesc":"GPS或时码定位","workrelattrs":[{"name":"名称","value":"GPS或时码定位","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000416","uid":"WjfxjFDRJogy5C","puid":"G$axjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:07","workdesc":"GPS或时码指示灯显示、开关位置","workrelattrs":[{"name":"名称","value":"GPS或时码指示灯显示、开关位置","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000417","uid":"W3TxjFDRJogy5C","puid":"G$axjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:07","workdesc":"记录器显示、走带","workrelattrs":[{"name":"名称","value":"记录器显示、走带","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000418","uid":"mHXxjFDRJogy5C","puid":"G$axjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:07","workdesc":"遥测信号发送、接收","workrelattrs":[{"name":"名称","value":"遥测信号发送、接收","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000419","uid":"mXbxjFDRJogy5C","puid":"G$axjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:07","workdesc":"总开关盒及座舱控制盒等开关位置","workrelattrs":[{"name":"名称","value":"总开关盒及座舱控制盒等开关位置","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]},{"id":"GB00000420","uid":"mnfxjFDRJogy5C","puid":"G$axjFDRJogy5C","type":"operation","lastmoddate":"2019-01-09 16:59:08","workdesc":"打开记录开关","workrelattrs":[{"name":"名称","value":"打开记录开关","rName":"object_name","editable":false},{"name":"描述","value":"","rName":"object_desc","editable":false}],"attachments":[],"parts":[],"executeresult":[]}],"gygf":{"uid":null,"type":null,"name":null,"path":null},"workrelattrs":[{"name":"机型号","value":"C919","rName":null,"editable":false},{"name":"名称","value":"工作指令单","rName":null,"editable":false},{"name":"架机号","value":"10101","rName":null,"editable":false},{"name":"ID","value":"GK00000142","rName":null,"editable":false},{"name":"所有者","value":"007 (007)","rName":null,"editable":false}]}]'
      return data
    }

  }
}
</script>
